//
//  JPFHttpResponse.h
//  JPFCoreKit
//
//  Created by jpf on 2021/7/28.
//  Copyright © 2021 jpf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JPFHttpError.h"

NS_ASSUME_NONNULL_BEGIN

@interface JPFHttpResponse : NSObject


@property (nonatomic, strong) NSData *data;
@property (nonatomic, strong) NSHTTPURLResponse *response;
@property (nonatomic, strong) JPFHttpError *error;

//初始化
- (instancetype)initWithResponse:(NSHTTPURLResponse *)response data:(NSData *)data error:(JPFHttpError *)error;


@end

NS_ASSUME_NONNULL_END
